<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>02_京东左侧导航表</title>
    <style>
        *{
            margin: 0px;
            padding: 1px;
        }


        .box1{
            width: 168px;
            height: fit-content;
            border: black 1px solid;

        }
        div:hover{
           background-color: rgb(74, 74, 77);
           width: 168px;

        }
        div{
            font-size: 16px;
            margin-bottom: 3px;
        }
        li{
            margin: 0;
            padding: 0;
        }


        
    </style>
</head>
<body>
    
    <dir class="box1">
        <div>家用电器</div>
        <div>手机/运营商/数码</div>
        <div>电脑/办公</div>
        <div>家具/家居/家厨/家装</div>
        <div>男装/女装/童装/内衣</div>
        <div>美妆/个人清洁/宠物</div>
        <div>女鞋/箱包/钟表/珠宝</div>
        <div>男鞋/运动/户外</div>
        <div>房产/汽车/汽车用品</div>
        <div>母婴/玩具乐器</div>
    </dir>

        <ul>
            <li>家用电器</li>
            <li>手机/运营商/数码</li>
            <li>电脑/办公</li>
            <li>家具/家居/家厨/家装</li>
            <li>男装/女装/童装/内衣</li>
        </ul>
  
    
</body>
</html>